package four.book.entity;

import java.io.Serializable;

public class Car implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer carId;

    private Book book;

    private User user;

    private Integer bookNum;

    private Integer carMoney;

    
    
    
    public Car() {
		super();
	}

	

	public Car(Integer carId, Book book, User user, Integer bookNum, Integer carMoney) {
		super();
		this.carId = carId;
		this.book = book;
		this.user = user;
		this.bookNum = bookNum;
		this.carMoney = carMoney;
	}



	public Integer getCarId() {
		return carId;
	}



	public void setCarId(Integer carId) {
		this.carId = carId;
	}



	public Book getBook() {
		return book;
	}



	public void setBook(Book book) {
		this.book = book;
	}



	public User getUser() {
		return user;
	}



	public void setUser(User user) {
		this.user = user;
	}



	public Integer getBookNum() {
		return bookNum;
	}



	public void setBookNum(Integer bookNum) {
		this.bookNum = bookNum;
	}



	public Integer getCarMoney() {
		return carMoney;
	}



	public void setCarMoney(Integer carMoney) {
		this.carMoney = carMoney;
	}



	
}